Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include/CMakeLists.txt: error out when architecture is not supported #1070

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

tpetazzoni
Copy link
Contributor

Since commit b98c56f ("stop exposing hidden defines in public opensslconf.h"), only a subset of CPU architectures is supported by libressl. However, when a build is attempted for an unsupported architecture, it doesn't fail with a clear error message at configure time, but it fails with a weird error at build time:

crypto/../include/openssl/rc4.h:75:9: error: unknown type name 'RC4_INT'

In order to help users, let's bail out nicely at configure time with a good error message when the CPU architecture is not supported.

Since commit b98c56f ("stop exposing
hidden defines in public opensslconf.h"), only a subset of CPU
architectures is supported by libressl. However, when a build is
attempted for an unsupported architecture, it doesn't fail with a
clear error message at configure time, but it fails with a weird error
at build time:

crypto/../include/openssl/rc4.h:75:9: error: unknown type name 'RC4_INT'

In order to help users, let's bail out nicely at configure time with a
good error message when the CPU architecture is not supported.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
@joshuasing joshuasing requested a review from busterb July 13, 2024 15:28
@botovq botovq merged commit 1796edd into libressl:master Jul 17, 2024
50 checks passed
@botovq
Copy link
Contributor

botovq commented Jul 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants